package com.clz.hyperit.dao;

import java.util.List;

import com.clz.hyperit.entity.Article;
import com.clz.hyperit.entity.Follow;

public interface FollowDao extends BaseDao<Follow>{
	// 获取某条关注信息
	public Follow getBy_articleId_userdetail_id(Integer blog_id, Integer userdetail_id);

	public void deleteBy_userdetail_id_target_id(Integer userdetail_id,
			Integer target_id);
	//获得对应的关注信息
	public Follow get_userid_targetid(Integer userdetail_id, Integer target_id);
	//根据userdetail_id获得关注
	public List<Follow> getByUserDetailId(Integer userdetail_id);



}
